<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

   <c:set var="title" scope="page">项目人数</c:set>
	<c:if test="${not empty param.title }">
		<c:set var="title" scope="page">${param.title }</c:set>
	</c:if>


<div class="t_bar">
	<span class="color_red">*</span>${title }
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="persons">
	<tr class="li_1">
		<td align="right">项目组人员总数：</td>
		<td colspan="7">
			<input type="text" name="zh_persons/psncnt_total" id="psncnt_total"  disabled
			class="gray required irisValGreatEqual:psncnt_total:psncnt_total_tmp1 irisValGreatEqual:psncnt_total:psncnt_total_tmp2" 
			label="项目组人员总数" onfocus="InitInput.setNumber(this,7,0,0)" 
			style="text-align:right; width:100px;" value="<x:out select="$xmlData/data/zh_persons/psncnt_total" />" />人
			<input id="psncnt_total_tmp1" name="zh_persons/psncnt_total_tmp1" type="hidden"  class="valueEqual:psncnt_total:psncnt_total_tmp1"
			label="项目组人员高级、中级、初级、其他人数之和" value="<x:out select="$xmlData/data/zh_persons/psncnt_total_tmp1" />">
			<input id="psncnt_total_tmp2" name="zh_persons/psncnt_total_tmp2" type="hidden"  class="valueEqual:psncnt_total:psncnt_total_tmp2"
			 label="项目组人员博士、硕士、学士、其他人数之和" value="<x:out select="$xmlData/data/zh_persons/psncnt_total_tmp2" />">
		</td>
		</tr>
		
		<tr>
		<td align="right" nowrap>高级职称：</td>
		<td>
			<input type="text" id="psncnt_high" name="zh_persons/psncnt_high" class=" required"  
			label="项目组人员高级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_high" />" 
			onchange="countNum('psncnt_','low,mid,high,other_post','total_tmp1');"/>人
		</td>
			<td align="right"nowrap>中级职称：</td>
		<td>
			<input type="text" id="psncnt_mid" name="zh_persons/psncnt_mid" class=" required"  
			 label="项目组人员中级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			 value="<x:out select="$xmlData/data/zh_persons/psncnt_mid" />" 
			 onchange="countNum('psncnt_','low,mid,high,other_post','total_tmp1');" />人
		</td>
		<td align="right"nowrap>初级职称：</td>
		<td>
			<input type="text" id="psncnt_low" name="zh_persons/psncnt_low" class=" required" 
			label="项目组人员初级职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_low" />" 
			onchange="countNum('psncnt_','low,mid,high,other_post','total_tmp1');"/>人
		</td>
		<td align="right" nowrap>其他：</td>
		<td>
			<input type="text" id="psncnt_other_post" name="zh_persons/psncnt_other_post" class=" required" 
			label="项目组人员其他职称人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_other_post" />" 
			onchange="countNum('psncnt_','low,mid,high,other_post','total_tmp1');"/>人
		</td>
	</tr>
	<tr>
	
		<%-- <td align="left"nowrap>博士后：</td>
		<td>
			<input type="text" id="psncnt_postdoctor" name="zh_persons/psncnt_postdoctor" class=" required" 
			label="项目组人员博士后人数" onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_postdoctor" />" 
			onchange="countNum('psncnt_','postdoctor,doctoral,master','total_tmp2');"/>人
		</td>  --%>
		 <td align="right"nowrap>博士：</td>
		<td>
			<input type="text" id="psncnt_doctoral" name="zh_persons/psncnt_doctoral" class=" required" 
			label="项目组人员中博士人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_doctoral" />" 
			onchange="countNum('psncnt_','doctoral,master,bachelor,other','total_tmp2');"/>人
		</td> 
		<td align="right"nowrap>硕士：</td>
		<td>
			<input type="text" id="psncnt_master" name="zh_persons/psncnt_master" class=" required" 
			label="项目组人员中硕士人数"  onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" 
			value="<x:out select="$xmlData/data/zh_persons/psncnt_master" />" 
			onchange="countNum('psncnt_','doctoral,master,bachelor,other','total_tmp2');"/>人
		</td>
		<td align="right"nowrap>学士：</td>
		<td>
			<input type="text" id="psncnt_bachelor"  name="zh_persons/psncnt_bachelor" class=" required" label="项目组人员中学士人数" onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" value="<x:out select="$xmlData/data/zh_persons/psncnt_bachelor" />" onchange="countNum('psncnt_','doctoral,master,bachelor,other','total_tmp2');"/>人
		</td>
		<td align="right"nowrap>其他：</td>
		<td>
			<input type="text" id="psncnt_other"  name="zh_persons/psncnt_other" class=" required" label="项目组人员中其他学位人数" onfocus="InitInput.setNumber(this,7,0,0)"  style="text-align:right; width:100px;" value="<x:out select="$xmlData/data/zh_persons/psncnt_other" />" onchange="countNum('psncnt_','doctoral,master,bachelor,other','total_tmp2');"/>人
		</td>
	</tr>
</table>

<div class="t_bar">
	<span class="color_red">*</span>项目负责人
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<!-- <span style="font-size: 12px;font-weight: normal;">
		（如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改）
	</span> -->
	</security:authorize>
</div>
	<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
            <th width="7%" >选择</th>
            <th nowrap>序号</th>
				<th width="13%">姓名</th>
				<th width="11%">从事专业</th>
				<th width="11%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="10%">学历</th>
				<th width="20%" nowrap="nowrap">项目分工</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td  align="center"  width="50px" >
					<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|org_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|tel_work" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|fax" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_college" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_year" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|address" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_name"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|birth_date"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|gender_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|age"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|educate_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|iscomember" value="0"/>
					<input type="hidden" name="zh_persons|zh_person[0]|researches" label="xml"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_name" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_code"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|email"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|mobile"/>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|zh_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|contact|major_work"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|birthday"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|position"></span>/<span name="zh_persons|zh_person[0]|basic_info|prof_title_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|educate_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|work" ></span>
				</td>
				<td align="center">
					<span  name="zh_persons|zh_person[0]|basic_info|org_name" ></span>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="zh_persons/zh_person[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/psn_code" value="<x:out select="$zh_person/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$zh_person/basic_info/card_type_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title" value="<x:out select="$zh_person/basic_info/prof_title" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
					</td>
					<td align="center">
					<span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><x:out select="$zh_person/basic_info/zh_name" /></span>
						<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
						<c:if test="${index==0 }"><a href="###" class="Blue" style="text-decoration: none;" onclick="selectFirstRadio(this);editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_sxry?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&psnCode=<x:out select="$zh_person/basic_info/psn_code" />&TB_iframe=true&height=440&width=900','编辑项目参与人信息')">[&nbsp;设置&nbsp;]</a></c:if>
						</security:authorize>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/contact/major_work"><x:out select="$zh_person/contact/major_work" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>
	<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				
				<input class="button_02"  id="zh_psnEdit" type="button" value="编辑" onclick="if(checkSubmitPsn('zh_persons'))editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_sxry?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑项目负责人信息')">
				
		</tr>
		</tbody>
		<tfoot>
		</tfoot>
	</table>
	  <br/>
	  <div class="t_bar"><span class="color_red">*</span>项目负责人简介（限300字）</div>
	 <table class="t_css" width="100%" border="0" cellpadding="0"  id="tblresume"
	    cellspacing="1">
      <tr class="li_2">
          <td>
			<textarea rows="5" cols="127"  class="input_textarea required maxlength:300 "   name='proposal/goal/resume'  label="项目负责人简介"><x:out select="$xmlData/data/proposal/goal/resume"/></textarea>
		   <input type='hidden' name='proposal/goal/resume_hidden' id='proposal/goal/resume_hidden' value=''>
		  </td>
      </tr>
      
    </table>
	  <div class="t_bar">
	<span class="color_red">*</span>主要研究人员
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<!-- <span style="font-size: 12px;font-weight: normal;">
		（如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改）
	</span> -->
	</security:authorize>
</div>
	<table  id="researchs" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
            <th width="7%" >选择</th>
            <th nowrap>序号</th>
				<th width="13%">姓名</th>
				<th width="11%">从事专业</th>
				<th width="11%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="10%">学历</th>
				<th width="20%" nowrap="nowrap">项目分工</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td  align="center"  width="50px" >
					<input type="radio" name="sel_researchs" onclick="setSubmitPsnRearch()" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|ethnicity_value" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|ethnicity_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|subject_code" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|subject_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|discipline_code" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|discipline_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|region_value" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|region_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|card_type_value" />
					<input type="hidden" name="researchs|research[0]|basic_info|academician_value" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|academician_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|org_code" /> 
					<input type="hidden" name="researchs|research[0]|contact|tel_work" /> 
					<input type="hidden" name="researchs|research[0]|contact|fax" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|post_code" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_value" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_country_value" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_country_name" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_college" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|degree_year" /> 
					<input type="hidden" name="researchs|research[0]|basic_info|address" />
					<input type="hidden" name="researchs|research[0]|basic_info|prof_title" />
					<input type="hidden" name="researchs|research[0]|basic_info|prof_title_value" />
					<input type="hidden" name="researchs|research[0]|basic_info|post_doctor_value"/>
					<input type="hidden" name="researchs|research[0]|basic_info|post_doctor_name"/>
					<input type="hidden" name="researchs|research[0]|basic_info|birth_date"/>
					<input type="hidden" name="researchs|research[0]|basic_info|gender_value"/>
					<input type="hidden" name="researchs|research[0]|basic_info|age"/>
					<input type="hidden" name="researchs|research[0]|basic_info|educate_value"/>
					<input type="hidden" name="researchs|research[0]|iscomember" value="0"/>
					<input type="hidden" name="researchs|research[0]|researches" label="xml"/>
					<input type="hidden" name="researchs|research[0]|basic_info|card_type_name" />
					<input type="hidden" name="researchs|research[0]|basic_info|card_code"/>
					<input type="hidden" name="researchs|research[0]|contact|email"/>
					<input type="hidden" name="researchs|research[0]|contact|mobile"/>
				</td>
				<td align="center">
					<span name="researchs|research[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|basic_info|zh_name"></span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|contact|major_work"></span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|basic_info|birthday"></span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|basic_info|position"></span>/<span name="researchs|research[0]|basic_info|prof_title_name"></span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|basic_info|educate_name"></span>
				</td>
				<td align="center">
					<span name="researchs|research[0]|basic_info|work" ></span>
				</td>
				<td align="center">
					<span  name="researchs|research[0]|basic_info|org_name" ></span>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/researchs/research" var="research">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_researchs" onclick="setSubmitPsnRearch()" /> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="researchs/research[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/psn_code" value="<x:out select="$research/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/en_name" value="<x:out select="$research/basic_info/en_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$research/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$research/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/subject_code" value="<x:out select="$research/basic_info/subject_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/subject_name" value="<x:out select="$research/basic_info/subject_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$research/basic_info/discipline_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$research/basic_info/discipline_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/region_value" value="<x:out select="$research/basic_info/region_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/region_name" value="<x:out select="$research/basic_info/region_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/gender_value" value="<x:out select="$research/basic_info/gender_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$research/basic_info/card_type_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/academician_value" value="<x:out select="$research/basic_info/academician_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/academician_name" value="<x:out select="$research/basic_info/academician_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/org_code" value="<x:out select="$research/basic_info/org_code" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/tel_work" value="<x:out select="$research/contact/tel_work" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/fax" value="<x:out select="$research/contact/fax" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_value" value="<x:out select="$research/basic_info/degree_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_name" value="<x:out select="$research/basic_info/degree_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_code" value="<x:out select="$research/basic_info/post_code" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$research/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$research/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_college" value="<x:out select="$research/basic_info/degree_college" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_year" value="<x:out select="$research/basic_info/degree_year" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/prof_title" value="<x:out select="$research/basic_info/prof_title" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$research/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/address" value="<x:out select="$research/basic_info/address" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$research/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$research/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/age" value="<x:out select="$research/basic_info/age" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/educate_value" value="<x:out select="$research/basic_info/educate_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_code" value="<x:out select="$research/basic_info/card_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$research/basic_info/card_type_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/email" value="<x:out select="$research/contact/email" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/mobile" value="<x:out select="$research/contact/mobile" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="researchs/research[${flag}${index}]/researches" label="xml"/>
					</td>
					<td align="center">
					<span name="researchs/research[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/zh_name"><x:out select="$research/basic_info/zh_name" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/contact/major_work"><x:out select="$research/contact/major_work" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/birthday"><x:out select="$research/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/position"><x:out select="$research/basic_info/position" /></span>/<span name="researchs/research[${flag}${index}]/basic_info/prof_title_name"><x:out select="$research/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="researchs/research[${flag}${index}]/basic_info/educate_name"><x:out select="$research/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/work"><x:out select="$research/basic_info/work" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/org_name"><x:out select="$research/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>
	<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				<input class="button_02" type="button" value="添加" onclick="if(checkTabLimit('researchs',99,'主要研究人员最多只能填写99条')){addNewRow('researchs','${ctx}/proposal/edit/dialog/psnInfoEdit_zdkjntggxm?parentTab=researchs&type=add&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','添加主要研究人员');}try{top.resizeFrame();}catch(e){};">
				&nbsp;<input class="button_02"  id="zh_psnPrev1" type="button" value="上移" onclick="movePrev('researchs');setSubmitPsnRearch()">
				&nbsp;<input class="button_02"  id="zh_psnNext1" type="button" value="下移" onclick="moveNext('researchs');setSubmitPsnRearch()">
				&nbsp;<input class="button_02"  id="zh_psnEdit1" type="button" value="编辑" onclick="editRow('researchs','${ctx}/proposal/edit/dialog/psnInfoEdit_zdkjntggxm?parentTab=researchs&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑主要研究人员信息')">
				&nbsp;<input class="button_02"  id="zh_psnDel1" type="button" value="删除" onclick="deleteSelectedRow('researchs','主要研究人员信息');countPsnNum('zh_persons,researchs','psncnt_total');"></td>
		</tr>
		</tbody>
		<tfoot>
		</tfoot>
	</table>
	  <br/>
	  
	  
	  <%-- <div class="t_bar"><span class="color_red">*</span>项目负责人简介（限300字）</div>
	 <table class="t_css" width="100%" border="0" cellpadding="0"  id="tblresume"
	    cellspacing="1">
      <tr class="li_2">
          <td>
			<textarea rows="15" cols="150"  class="input_textarea required  "   name='proposal/goal/resume'  label="项目负责人简介"><x:out select="$xmlData/data/proposal/goal/resume"/></textarea>
		   <input type='hidden' name='proposal/goal/resume_hidden' id='proposal/goal/resume_hidden' value=''>
		  </td>
      </tr>
    </table> --%>
<script type="text/javascript">
psnSynchro();
countPsnNum('zh_persons,researchs','psncnt_total');
function selectFirstRadio(obj) {
	$(obj).parent('td').parent('tr').find('input[type="radio"]').attr("checked","checked");
	setSubmitPsn();
}
function checkSubmitPsn(tableId){
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	var tr=$("#"+tableId+" :radio:checked").parents("tr");
	if(tr.length!=0 && tr.get(0).rowIndex==2){
		scmWarn('如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改');
		return false;
	}
	</security:authorize>
	
	return true;
		
}
function psnSynchro(){
	$("span[name$='fzr_psnname']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/zh_name']").text());
	/* $("span[name$='fzr_tel']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/tel_work']").val()); */
	$("span[name$='fzr_mobile']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/mobile']").val());
	$("span[name$='fzr_mail']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/email']").val());
	$("span[name$='fzr_idcard']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/email']").val());
	$("span[name$='degree_name']").text($("#zh_persons tr:eq(2)").find("input[name$='basic_info/degree_name']").val());
	$("span[name$='proposal/prof_title_name']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/prof_title_name']").text());
	$("span[name$='proposal/org_name']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/org_name']").text());
	$("span[name$='address']").text($("#zh_persons tr:eq(2)").find("input[name$='basic_info/address']").val());
	$("span[name$='fzr_searcharea']").text($("#zh_persons tr:eq(2)").find("input[name$='basic_info/discipline_name']").val());
	$("span[name$='proposal/fzr_idcard']").text($("#zh_persons tr:eq(2)").find("input[name$='basic_info/card_code']").val()+"（"+$("#zh_persons tr:eq(2)").find("input[name$='basic_info/card_type_name']").val()+"）");
	$("span[name$='proposal/fzr_tel_work']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/tel_work']").val());
}


function countPsnNum(tableIds,destId){
	var tableIds = tableIds.split(",");
	var count = 0;
	for (var i = 0; i < tableIds.length ;i++)
	{
		var tableId = tableIds[i];
		var table = $('#'+tableId);
		if (table)
		{
			var lineNum = table.find("tr").length-2;  //动态添加行
			if(lineNum >= 0){
				count = parseInt(count)+parseInt(lineNum);
			} 
		}
	}
	$("#"+destId).val(count);
}


function setSubmitPsnRearch() {
	/* if($("#researchs :radio:checked").length==0){
		scmWarn('请选择一行!');
		return false;
	}
	var tr = $("#researchs :radio:checked").parents("tr");
	if (tr.get(0).rowIndex - 1 == 1) {// 如果选择的是申报人
		$("#zh_psnPrev1").attr("disabled", "true").css("color", "#808080");
		$("#zh_psnNext1").attr("disabled", "true").css("color", "#808080");
		// $("#zh_psnEdit").attr("disabled","true").css("color","#808080");
		$("#zh_psnDel1").attr("disabled", "true").css("color", "#808080");

	} else if (tr.get(0).rowIndex - 1 == 2) {// 如果是申报书的下一行
		$("#zh_psnPrev1").attr("disabled", "true").css("color", "#808080");
		$("#zh_psnNext1").removeAttr("disabled").css("color", "#003366");
		$("#zh_psnDel1").removeAttr("disabled").css("color", "#003366");
	} else {
		$("#zh_psnPrev1").removeAttr("disabled").css("color", "#003366");
		$("#zh_psnNext1").removeAttr("disabled").css("color", "#003366");
		// $("#zh_psnEdit").removeAttr("disabled").css("color","#003366");
		$("#zh_psnDel1").removeAttr("disabled").css("color", "#003366");
	} */
	return true;

}
</script>